<template>
    <div class="system-wrap">

        <p class="test">
            <span>Welcome.</span>

            <br />
            <br />

            <el-button @click="fn">退出登录</el-button>
        </p>

    </div>
</template>

<script setup>


// 测试代码 - 退出登录
const fn = () => {
    localStorage.clear()
    location.reload()
}

</script>


<style lang="less" scoped>
.system-wrap {
    width: 100%;
    height: 100%;
    background-color: #f8f8f8;

    .test {
        padding: 100px;
        font-size: 30px;
    }
}

</style>